
<form id="add-form" class="form-horizontal col-sm-12" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <div class="form-group">
        <div class="col-xs-12 col-sm-12">
            <div class="form-group col-sm-10">
                <label>关联客户:</label>
                {if condition="isset($row.customer_name)"}{$row.customer_name}{/if}
            </div>
        </div>
        <div class="col-xs-12 col-sm-12">
            <div class="form-group col-sm-10">
                <label>签到人:</label>
                {if condition="isset($row.createname)"}{$row.createname}{/if}
            </div>
        </div>
        <div class="col-xs-12 col-sm-12">
            <div class="form-group col-sm-10">
                <label>签到时间:</label>
                {$row.createtime}
            </div>
        </div>
        <div class="col-xs-12 col-sm-12">
            <div class="form-group col-sm-10">
                <label>签到地址:</label>
                {$row.location}
            </div>
        </div>
        <div class="col-xs-12 col-sm-12">
            <div class="form-group col-sm-10">
                <label>签到内容:</label>
                {$row.content}
            </div>
        </div>
        <div class="col-xs-12 col-sm-12">
            <div class="form-group col-sm-12">
                <label>附件:</label>
                {foreach name="$row.file" item="f"}
                <a href="{:cdnurl($f.file_path)}" target="_blank" style="margin-right:10px;">
                    {if condition="$f.types eq 'image'"}
                    <img data-tips-image src="{:cdnurl($f.file_path)}" alt="{$f.name}" width="100px" height="100px">
                    {else\}
                    {$f.name}
                    {/if}
                </a>
                {/foreach}
            </div>
        </div>

    </div>


</form>
